Optimal. Leaf size=706 \[ -\frac {2 \sqrt {a d-b c} (d e-c f) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {\frac {b (e+f x)}{b e-a f}} \left (24 a^2 C d f^2-a b f (20 B d f+c C f+7 C d e)+b^2 (5 d f (3 A f+B e)-C e (2 d e-c f))\right ) \operatorname {EllipticF}\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {a d-b c}}\right ),\frac {f (b c-a d)}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {e+f x}}+\frac {2 \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2} \left (6 a^2 C d f-a b (5 B d f+c C f+C d e)+b^2 (5 A d f+c C e)\right )}{5 b^2 f (b c-a d) (b e-a f)}+\frac {2 \sqrt {e+f x} \sqrt {a d-b c} \sqrt {\frac {b (c+d x)}{b c-a d}} \left (48 a^2 C d^2 f^2-8 a b d f (5 B d f+c C f+C d e)+b^2 \left (5 d f (6 A d f+B c f+B d e)-2 C \left (c^2 f^2-c d e f+d^2 e^2\right )\right )\right ) E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {a d-b c}}\right )|\frac {(b c-a d) f}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {\frac {b (e+f x)}{b e-a f}}}+\frac {2 \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \left (24 a^2 C d f^2-a b f (20 B d f+c C f+7 C d e)+b^2 (5 d f (3 A f+B e)-C e (2 d e-c f))\right )}{15 b^3 d f (b e-a f)}-\frac {2 (c+d x)^{3/2} (e+f x)^{3/2} \left (A b^2-a (b B-a C)\right )}{b \sqrt {a+b x} (b c-a d) (b e-a f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.84, antiderivative size = 706, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.184, Rules used = {1614, 154, 158, 114, 113, 121, 120} \[ \frac {2 \sqrt {e+f x} \sqrt {a d-b c} \sqrt {\frac {b (c+d x)}{b c-a d}} \left (48 a^2 C d^2 f^2-8 a b d f (5 B d f+c C f+C d e)+b^2 \left (5 d f (6 A d f+B c f+B d e)-2 C \left (c^2 f^2-c d e f+d^2 e^2\right )\right )\right ) E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {a d-b c}}\right )|\frac {(b c-a d) f}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {\frac {b (e+f x)}{b e-a f}}}-\frac {2 \sqrt {a d-b c} (d e-c f) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {\frac {b (e+f x)}{b e-a f}} \left (24 a^2 C d f^2-a b f (20 B d f+c C f+7 C d e)+b^2 (5 d f (3 A f+B e)-C e (2 d e-c f))\right ) F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {a d-b c}}\right )|\frac {(b c-a d) f}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {e+f x}}+\frac {2 \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \left (24 a^2 C d f^2-a b f (20 B d f+c C f+7 C d e)+b^2 (5 d f (3 A f+B e)-C e (2 d e-c f))\right )}{15 b^3 d f (b e-a f)}+\frac {2 \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2} \left (6 a^2 C d f-a b (5 B d f+c C f+C d e)+b^2 (5 A d f+c C e)\right )}{5 b^2 f (b c-a d) (b e-a f)}-\frac {2 (c+d x)^{3/2} (e+f x)^{3/2} \left (A b^2-a (b B-a C)\right )}{b \sqrt {a+b x} (b c-a d) (b e-a f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 113
Rule 114
Rule 120
Rule 121
Rule 154
Rule 158
Rule 1614
Rubi steps
\begin {align*} \int \frac {\sqrt {c+d x} \sqrt {e+f x} \left (A+B x+C x^2\right )}{(a+b x)^{3/2}} \, dx &=-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}-\frac {2 \int \frac {\sqrt {c+d x} \sqrt {e+f x} \left (-\frac {3 a^2 C (d e+c f)-a b (c C e+3 B d e+3 B c f-A d f)+b^2 (B c e+2 A (d e+c f))}{2 b}+\frac {1}{2} \left (-\frac {6 a^2 C d f}{b}-b (c C e+5 A d f)+a (C d e+c C f+5 B d f)\right ) x\right )}{\sqrt {a+b x}} \, dx}{(b c-a d) (b e-a f)}\\ &=\frac {2 \left (6 a^2 C d f+b^2 (c C e+5 A d f)-a b (C d e+c C f+5 B d f)\right ) \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2}}{5 b^2 (b c-a d) f (b e-a f)}-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}-\frac {4 \int \frac {\sqrt {e+f x} \left (-\frac {(b c-a d) \left (6 a^2 C f (d e+3 c f)-b^2 \left (c C e^2-5 A d e f-5 c f (B e+2 A f)\right )-a b (5 B f (d e+3 c f)+C e (d e+7 c f))\right )}{4 b}-\frac {(b c-a d) \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) x}{4 b}\right )}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{5 b (b c-a d) f (b e-a f)}\\ &=\frac {2 \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}}{15 b^3 d f (b e-a f)}+\frac {2 \left (6 a^2 C d f+b^2 (c C e+5 A d f)-a b (C d e+c C f+5 B d f)\right ) \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2}}{5 b^2 (b c-a d) f (b e-a f)}-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}-\frac {8 \int \frac {-\frac {(b c-a d) (b e-a f) \left (24 a^2 C d f (d e+c f)-a b \left (20 B d f (d e+c f)+C \left (d^2 e^2+14 c d e f+c^2 f^2\right )\right )-b^2 \left (c^2 C e f-15 A d^2 e f+c d \left (C e^2-5 f (2 B e+3 A f)\right )\right )\right )}{8 b}-\frac {(b c-a d) (b e-a f) \left (48 a^2 C d^2 f^2-8 a b d f (C d e+c C f+5 B d f)+b^2 \left (5 d f (B d e+B c f+6 A d f)-2 C \left (d^2 e^2-c d e f+c^2 f^2\right )\right )\right ) x}{8 b}}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}} \, dx}{15 b^2 d (b c-a d) f (b e-a f)}\\ &=\frac {2 \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}}{15 b^3 d f (b e-a f)}+\frac {2 \left (6 a^2 C d f+b^2 (c C e+5 A d f)-a b (C d e+c C f+5 B d f)\right ) \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2}}{5 b^2 (b c-a d) f (b e-a f)}-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}-\frac {\left ((d e-c f) \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right )\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}} \, dx}{15 b^3 d f^2}+\frac {\left (48 a^2 C d^2 f^2-8 a b d f (C d e+c C f+5 B d f)+b^2 \left (5 d f (B d e+B c f+6 A d f)-2 C \left (d^2 e^2-c d e f+c^2 f^2\right )\right )\right ) \int \frac {\sqrt {e+f x}}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{15 b^3 d f^2}\\ &=\frac {2 \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}}{15 b^3 d f (b e-a f)}+\frac {2 \left (6 a^2 C d f+b^2 (c C e+5 A d f)-a b (C d e+c C f+5 B d f)\right ) \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2}}{5 b^2 (b c-a d) f (b e-a f)}-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}-\frac {\left ((d e-c f) \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {\frac {b (c+d x)}{b c-a d}}\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}} \sqrt {e+f x}} \, dx}{15 b^3 d f^2 \sqrt {c+d x}}+\frac {\left (\left (48 a^2 C d^2 f^2-8 a b d f (C d e+c C f+5 B d f)+b^2 \left (5 d f (B d e+B c f+6 A d f)-2 C \left (d^2 e^2-c d e f+c^2 f^2\right )\right )\right ) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {e+f x}\right ) \int \frac {\sqrt {\frac {b e}{b e-a f}+\frac {b f x}{b e-a f}}}{\sqrt {a+b x} \sqrt {\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}}} \, dx}{15 b^3 d f^2 \sqrt {c+d x} \sqrt {\frac {b (e+f x)}{b e-a f}}}\\ &=\frac {2 \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}}{15 b^3 d f (b e-a f)}+\frac {2 \left (6 a^2 C d f+b^2 (c C e+5 A d f)-a b (C d e+c C f+5 B d f)\right ) \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2}}{5 b^2 (b c-a d) f (b e-a f)}-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}+\frac {2 \sqrt {-b c+a d} \left (48 a^2 C d^2 f^2-8 a b d f (C d e+c C f+5 B d f)+b^2 \left (5 d f (B d e+B c f+6 A d f)-2 C \left (d^2 e^2-c d e f+c^2 f^2\right )\right )\right ) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {e+f x} E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {-b c+a d}}\right )|\frac {(b c-a d) f}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {\frac {b (e+f x)}{b e-a f}}}-\frac {\left ((d e-c f) \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {\frac {b (e+f x)}{b e-a f}}\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}} \sqrt {\frac {b e}{b e-a f}+\frac {b f x}{b e-a f}}} \, dx}{15 b^3 d f^2 \sqrt {c+d x} \sqrt {e+f x}}\\ &=\frac {2 \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x}}{15 b^3 d f (b e-a f)}+\frac {2 \left (6 a^2 C d f+b^2 (c C e+5 A d f)-a b (C d e+c C f+5 B d f)\right ) \sqrt {a+b x} \sqrt {c+d x} (e+f x)^{3/2}}{5 b^2 (b c-a d) f (b e-a f)}-\frac {2 \left (A b^2-a (b B-a C)\right ) (c+d x)^{3/2} (e+f x)^{3/2}}{b (b c-a d) (b e-a f) \sqrt {a+b x}}+\frac {2 \sqrt {-b c+a d} \left (48 a^2 C d^2 f^2-8 a b d f (C d e+c C f+5 B d f)+b^2 \left (5 d f (B d e+B c f+6 A d f)-2 C \left (d^2 e^2-c d e f+c^2 f^2\right )\right )\right ) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {e+f x} E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {-b c+a d}}\right )|\frac {(b c-a d) f}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {\frac {b (e+f x)}{b e-a f}}}-\frac {2 \sqrt {-b c+a d} (d e-c f) \left (24 a^2 C d f^2-a b f (7 C d e+c C f+20 B d f)+b^2 (5 d f (B e+3 A f)-C e (2 d e-c f))\right ) \sqrt {\frac {b (c+d x)}{b c-a d}} \sqrt {\frac {b (e+f x)}{b e-a f}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {-b c+a d}}\right )|\frac {(b c-a d) f}{d (b e-a f)}\right )}{15 b^4 d^{3/2} f^2 \sqrt {c+d x} \sqrt {e+f x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 8.13, size = 633, normalized size = 0.90 \[ -\frac {2 \left (-i b f (a+b x)^{3/2} (d e-c f) \sqrt {\frac {b (c+d x)}{d (a+b x)}} \sqrt {\frac {b (e+f x)}{f (a+b x)}} \left (24 a^2 C d^2 f-a b d (20 B d f+7 c C f+C d e)+b^2 \left (15 A d^2 f+c d (5 B f+C e)-2 c^2 C f\right )\right ) \operatorname {EllipticF}\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {b c}{d}-a}}{\sqrt {a+b x}}\right ),\frac {b d e-a d f}{b c f-a d f}\right )+b^2 (c+d x) (e+f x) \left (-\sqrt {\frac {b c}{d}-a}\right ) \left (48 a^2 C d^2 f^2-8 a b d f (5 B d f+c C f+C d e)+b^2 \left (5 d f (6 A d f+B c f+B d e)-2 C \left (c^2 f^2-c d e f+d^2 e^2\right )\right )\right )-i f (a+b x)^{3/2} (b c-a d) \sqrt {\frac {b (c+d x)}{d (a+b x)}} \sqrt {\frac {b (e+f x)}{f (a+b x)}} \left (48 a^2 C d^2 f^2-8 a b d f (5 B d f+c C f+C d e)+b^2 \left (5 d f (6 A d f+B c f+B d e)-2 C \left (c^2 f^2-c d e f+d^2 e^2\right )\right )\right ) E\left (i \sinh ^{-1}\left (\frac {\sqrt {\frac {b c}{d}-a}}{\sqrt {a+b x}}\right )|\frac {b d e-a d f}{b c f-a d f}\right )+b^2 d f (c+d x) (e+f x) \sqrt {\frac {b c}{d}-a} \left (15 d f \left (a (a C-b B)+A b^2\right )-(a+b x) (b (5 B d f+c C f+C d e)-9 a C d f)-3 b C d f x (a+b x)\right )\right )}{15 b^5 d^2 f^2 \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {\frac {b c}{d}-a}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.87, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (C x^{2} + B x + A\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e}}{b^{2} x^{2} + 2 \, a b x + a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (C x^{2} + B x + A\right )} \sqrt {d x + c} \sqrt {f x + e}}{{\left (b x + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 6265, normalized size = 8.87 \[ \text {output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (C x^{2} + B x + A\right )} \sqrt {d x + c} \sqrt {f x + e}}{{\left (b x + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\sqrt {e+f\,x}\,\sqrt {c+d\,x}\,\left (C\,x^2+B\,x+A\right )}{{\left (a+b\,x\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________